#pragma once

// Dependencies
#include "Widget.h"
#include <vector>
#include <memory>

namespace Gui {
	class Panel : public Widget {
	public:
		Panel( const Core::Rect2f& rect );

	public:
		bool onMouseDown( const Core::Point2f& pt );
		bool onMouseUp( const Core::Point2f& pt );
		void render();

	public:
		std::vector<std::shared_ptr<Widget>> mChildren;
		std::shared_ptr<Widget> mActiveObject;
	};
}